package com.example.mymvvmdemo.base;

import androidx.lifecycle.ViewModel;

public class BaseViewModel extends ViewModel {

    public ISingleCallback iSingleCallback;

    public ISingleCallback getiSingleCallback() {
        return iSingleCallback;
    }

    public void setiSingleCallback(ISingleCallback iSingleCallback) {
        this.iSingleCallback = iSingleCallback;
    }

    public interface ISingleCallback {
        void onSingleCallback(int type, Object result);
    }

}
